package cn.yto.print.enums;

import javafx.scene.paint.Color;
import lombok.Getter;

@Getter
public enum MessageTypeEnum {

    /* 控制台消息类型 */
    INFO("[信息]", Color.BLACK),
    WARNING("[警告]", Color.ORANGE),
    ERROR("[错误]", Color.RED),
    SUCCESS("[成功]", Color.GREEN);

    private final String prefix;

    private final Color color;

    MessageTypeEnum(String prefix, Color color) {
        this.prefix = prefix;
        this.color = color;
    }

}
